package com.zhu.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author JoyBoyZH
 * @description 列表表头枚举
 * @date 2022/6/5
 */
@Getter
public enum PropTypeEnum {
    //用户查询
    USER(0,"USER"),
    //商品查询
    GOODS(1,"GOODS"),
    //库存记录查询
    INPUTRECORD(2,"INPUTRECORD"),
    //库存记录详情查询
    RECORDITEM(3,"RECORDITEM"),
    //库存详情查询
    INVENTORYITEM(4,"INVENTORYITEM"),

    OUTRECORD(5,"OUTRECORD");
    @EnumValue
    private final Integer code;
    private final String name;

    PropTypeEnum(final Integer code, final String name) {
        this.code = code;
        this.name = name;
    }
}
